<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>Class: RequisicoesController</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <meta http-equiv="Content-Script-Type" content="text/javascript" />
  <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
  <script type="text/javascript">
  // <![CDATA[

  function popupCode( url ) {
    window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
  }

  function toggleCode( id ) {
    if ( document.getElementById )
      elem = document.getElementById( id );
    else if ( document.all )
      elem = eval( "document.all." + id );
    else
      return false;

    elemStyle = elem.style;
    
    if ( elemStyle.display != "block" ) {
      elemStyle.display = "block"
    } else {
      elemStyle.display = "none"
    }

    return true;
  }
  
  // Make codeblocks hidden by default
  document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
  
  // ]]>
  </script>

</head>
<body>



    <div id="classHeader">
        <table class="header-table">
        <tr class="top-aligned-row">
          <td><strong>Class</strong></td>
          <td class="class-name-in-header">RequisicoesController</td>
        </tr>
        <tr class="top-aligned-row">
            <td><strong>In:</strong></td>
            <td>
                <a href="../files/app/controllers/requisicoes_controller_rb.html">
                app/controllers/requisicoes_controller.rb
                </a>
        <br />
            </td>
        </tr>

        <tr class="top-aligned-row">
            <td><strong>Parent:</strong></td>
            <td>
                <a href="ApplicationController.html">
                ApplicationController
               </a>
            </td>
        </tr>
        </table>
    </div>
  <!-- banner header -->

  <div id="bodyContent">



  <div id="contextContent">



   </div>

    <div id="method-list">
      <h3 class="section-bar">Methods</h3>

      <div class="name-list">
      <a href="#M000038">add_campo_data</a>&nbsp;&nbsp;
      <a href="#M000052">aprovarDesenvolvimento</a>&nbsp;&nbsp;
      <a href="#M000084">aprovarDesenvolvimentoAnalista_tela</a>&nbsp;&nbsp;
      <a href="#M000083">aprovarDesenvolvimento_tela</a>&nbsp;&nbsp;
      <a href="#M000078">aprovarRequisicao_tela</a>&nbsp;&nbsp;
      <a href="#M000053">atualizarImediatamente</a>&nbsp;&nbsp;
      <a href="#M000081">autorizaEnvioProd_tela</a>&nbsp;&nbsp;
      <a href="#M000079">autorizarAtualizacao_tela</a>&nbsp;&nbsp;
      <a href="#M000056">cancelarAtualizacaoBdCert_tela</a>&nbsp;&nbsp;
      <a href="#M000061">cancelarAtualizacaoBdProd_tela</a>&nbsp;&nbsp;
      <a href="#M000064">cancelarAtualizacaoServidorCert_tela</a>&nbsp;&nbsp;
      <a href="#M000069">cancelarAtualizacaoServidorProd_tela</a>&nbsp;&nbsp;
      <a href="#M000073">cancelarCert_tela</a>&nbsp;&nbsp;
      <a href="#M000058">concluirAtualizacaoBdCert_tela</a>&nbsp;&nbsp;
      <a href="#M000066">concluirAtualizacaoServidorCert_tela</a>&nbsp;&nbsp;
      <a href="#M000062">concluirAtulizacaoBdProd_tela</a>&nbsp;&nbsp;
      <a href="#M000070">concluirAtulizacaoServidorProd_tela</a>&nbsp;&nbsp;
      <a href="#M000050">concluirDesenvolvimento_tela</a>&nbsp;&nbsp;
      <a href="#M000031">create</a>&nbsp;&nbsp;
      <a href="#M000033">create_two</a>&nbsp;&nbsp;
      <a href="#M000039">del_campo_data</a>&nbsp;&nbsp;
      <a href="#M000040">destroy</a>&nbsp;&nbsp;
      <a href="#M000035">edit</a>&nbsp;&nbsp;
      <a href="#M000042">enviarParaAtualizacaoProducao</a>&nbsp;&nbsp;
      <a href="#M000041">enviarParaAtualizacaoProducao_tela</a>&nbsp;&nbsp;
      <a href="#M000046">enviarParaCertificacao</a>&nbsp;&nbsp;
      <a href="#M000045">enviarParaCertificacao_tela</a>&nbsp;&nbsp;
      <a href="#M000044">enviarParaDesenvolvimento</a>&nbsp;&nbsp;
      <a href="#M000043">enviarParaDesenvolvimento_tela</a>&nbsp;&nbsp;
      <a href="#M000071">escalarCertificador_tela</a>&nbsp;&nbsp;
      <a href="#M000047">escalarDesenvolvedor_tela</a>&nbsp;&nbsp;
      <a href="#M000027">index</a>&nbsp;&nbsp;
      <a href="#M000055">iniciarAtualizacaoBdCert_tela</a>&nbsp;&nbsp;
      <a href="#M000059">iniciarAtualizacaoBdProd_tela</a>&nbsp;&nbsp;
      <a href="#M000063">iniciarAtualizacaoServidorCert_tela</a>&nbsp;&nbsp;
      <a href="#M000067">iniciarAtualizacaoServidorProd_tela</a>&nbsp;&nbsp;
      <a href="#M000075">iniciarCertificacao_tela</a>&nbsp;&nbsp;
      <a href="#M000048">iniciarDesenvolvimento_tela</a>&nbsp;&nbsp;
      <a href="#M000028">list</a>&nbsp;&nbsp;
      <a href="#M000030">new</a>&nbsp;&nbsp;
      <a href="#M000034">new_three</a>&nbsp;&nbsp;
      <a href="#M000032">new_two</a>&nbsp;&nbsp;
      <a href="#M000037">render_modulos</a>&nbsp;&nbsp;
      <a href="#M000080">reportarErroProducao_tela</a>&nbsp;&nbsp;
      <a href="#M000051">reprovarDesenvolvimento</a>&nbsp;&nbsp;
      <a href="#M000054">reprovarDesenvolvimentoAnalista_tela</a>&nbsp;&nbsp;
      <a href="#M000082">reprovarDesenvolvimento_tela</a>&nbsp;&nbsp;
      <a href="#M000076">reprovarRequisicao_tela</a>&nbsp;&nbsp;
      <a href="#M000029">show</a>&nbsp;&nbsp;
      <a href="#M000074">solicitarAtualizacaoBdCert_tela</a>&nbsp;&nbsp;
      <a href="#M000072">solicitarAtualizacaoServidorCert_tela</a>&nbsp;&nbsp;
      <a href="#M000057">suspenderAtualizacaoBdCert_tela</a>&nbsp;&nbsp;
      <a href="#M000060">suspenderAtualizacaoBdProd_tela</a>&nbsp;&nbsp;
      <a href="#M000065">suspenderAtualizacaoServidorCert_tela</a>&nbsp;&nbsp;
      <a href="#M000068">suspenderAtualizacaoServidorProd_tela</a>&nbsp;&nbsp;
      <a href="#M000077">suspenderCertificacao_tela</a>&nbsp;&nbsp;
      <a href="#M000049">suspenderDesenvolvimento_tela</a>&nbsp;&nbsp;
      <a href="#M000036">update</a>&nbsp;&nbsp;
      </div>
    </div>

  </div>


    <!-- if includes -->

    <div id="section">





      


    <!-- if method_list -->
    <div id="methods">
      <h3 class="section-bar">Public Instance methods</h3>

      <div id="method-M000038" class="method-detail">
        <a name="M000038"></a>

        <div class="method-heading">
          <a href="#M000038" class="method-signature">
          <span class="method-name">add_campo_data</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000038-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000038-source">
<pre>
    <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 84</span>
84:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_campo_data</span>
85:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000052" class="method-detail">
        <a name="M000052"></a>

        <div class="method-heading">
          <a href="#M000052" class="method-signature">
          <span class="method-name">aprovarDesenvolvimento</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000052-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000052-source">
<pre>
     <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 213</span>
213:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">aprovarDesenvolvimento</span>
214:     <span class="ruby-ivar">@requisicao</span> = <span class="ruby-constant">Request</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>])
215:     <span class="ruby-ivar">@requisicao</span>.<span class="ruby-identifier">aprovarDesenvolvimento!</span>
216:     <span class="ruby-identifier">historico</span> = <span class="ruby-constant">Historico</span>.<span class="ruby-identifier">new</span>
217:     <span class="ruby-identifier">historico</span>.<span class="ruby-identifier">attributes</span> = <span class="ruby-identifier">params</span>[<span class="ruby-identifier">:historico</span>]
218:     <span class="ruby-identifier">historico</span>.<span class="ruby-identifier">usuario_id</span> = <span class="ruby-constant">Goldberg</span>.<span class="ruby-identifier">user</span>.<span class="ruby-identifier">id</span>
219:     <span class="ruby-identifier">historico</span>.<span class="ruby-identifier">estado</span> = <span class="ruby-ivar">@requisicao</span>.<span class="ruby-identifier">estado</span>
220:     <span class="ruby-ivar">@requisicao</span>.<span class="ruby-identifier">historicos</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">historico</span>    
221:     <span class="ruby-identifier">flash</span>[<span class="ruby-identifier">:notice</span>] = <span class="ruby-value str">'Operação realizada com sucesso.'</span>        
222:     <span class="ruby-identifier">redirect_to</span> <span class="ruby-identifier">:action</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">'list'</span>
223:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000084" class="method-detail">
        <a name="M000084"></a>

        <div class="method-heading">
          <a href="#M000084" class="method-signature">
          <span class="method-name">aprovarDesenvolvimentoAnalista_tela</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000084-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000084-source">
<pre>
     <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 391</span>
391:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">aprovarDesenvolvimentoAnalista_tela</span>
392:     <span class="ruby-ivar">@requisicao</span> = <span class="ruby-constant">Requisicao</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>])
393:     <span class="ruby-ivar">@acao</span> = <span class="ruby-value str">'aprovarDesenvolvimentoAnalista'</span>    
394:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000083" class="method-detail">
        <a name="M000083"></a>

        <div class="method-heading">
          <a href="#M000083" class="method-signature">
          <span class="method-name">aprovarDesenvolvimento_tela</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000083-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000083-source">
<pre>
     <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 387</span>
387:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">aprovarDesenvolvimento_tela</span>
388:     <span class="ruby-ivar">@requisicao</span> = <span class="ruby-constant">Requisicao</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>])
389:     <span class="ruby-ivar">@acao</span> = <span class="ruby-value str">'aprovarDesenvolvimento'</span>    
390:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000078" class="method-detail">
        <a name="M000078"></a>

        <div class="method-heading">
          <a href="#M000078" class="method-signature">
          <span class="method-name">aprovarRequisicao_tela</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000078-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000078-source">
<pre>
     <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 361</span>
361:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">aprovarRequisicao_tela</span>
362:     <span class="ruby-ivar">@requisicao</span> = <span class="ruby-constant">Requisicao</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>])
363:     <span class="ruby-ivar">@acao</span> = <span class="ruby-value str">'aprovarRequisicao'</span>     
364:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000053" class="method-detail">
        <a name="M000053"></a>

        <div class="method-heading">
          <a href="#M000053" class="method-signature">
          <span class="method-name">atualizarImediatamente</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000053-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000053-source">
<pre>
     <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 225</span>
225:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">atualizarImediatamente</span>
226:     <span class="ruby-ivar">@requisicao</span> = <span class="ruby-constant">Requisicao</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>])
227:     <span class="ruby-ivar">@requisicao</span>.<span class="ruby-identifier">atualizarImediatamente!</span>
228:     <span class="ruby-identifier">historico</span> = <span class="ruby-constant">Historico</span>.<span class="ruby-identifier">new</span>
229:     <span class="ruby-identifier">historico</span>.<span class="ruby-identifier">attributes</span> = <span class="ruby-identifier">params</span>[<span class="ruby-identifier">:historico</span>]
230:     <span class="ruby-identifier">historico</span>.<span class="ruby-identifier">usuario_id</span> = <span class="ruby-constant">Goldberg</span>.<span class="ruby-identifier">user</span>.<span class="ruby-identifier">id</span>
231:     <span class="ruby-identifier">historico</span>.<span class="ruby-identifier">estado</span> = <span class="ruby-ivar">@requisicao</span>.<span class="ruby-identifier">estado</span>
232:     <span class="ruby-ivar">@requisicao</span>.<span class="ruby-identifier">historicos</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">historico</span>    
233:     <span class="ruby-identifier">flash</span>[<span class="ruby-identifier">:notice</span>] = <span class="ruby-value str">'Operação realizada com sucesso.'</span>        
234:     <span class="ruby-identifier">redirect_to</span> <span class="ruby-identifier">:action</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">'list'</span>
235:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000081" class="method-detail">
        <a name="M000081"></a>

        <div class="method-heading">
          <a href="#M000081" class="method-signature">
          <span class="method-name">autorizaEnvioProd_tela</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000081-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000081-source">
<pre>
     <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 378</span>
378:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">autorizaEnvioProd_tela</span>
379:     <span class="ruby-ivar">@requisicao</span> = <span class="ruby-constant">Requisicao</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>])
380:     <span class="ruby-ivar">@acao</span> = <span class="ruby-value str">'autorizaEnvioProd'</span>      
381:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000079" class="method-detail">
        <a name="M000079"></a>

        <div class="method-heading">
          <a href="#M000079" class="method-signature">
          <span class="method-name">autorizarAtualizacao_tela</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
gerente
</p>
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000079-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000079-source">
<pre>
     <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 367</span>
367:   <span class="ruby-keyword kw">def</span>  <span class="ruby-identifier">autorizarAtualizacao_tela</span> 
368:     <span class="ruby-ivar">@requisicao</span> = <span class="ruby-constant">Requisicao</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>])
369:     <span class="ruby-ivar">@acao</span> = <span class="ruby-value str">'autorizarAtualizacao'</span>            
370:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000056" class="method-detail">
        <a name="M000056"></a>

        <div class="method-heading">
          <a href="#M000056" class="method-signature">
          <span class="method-name">cancelarAtualizacaoBdCert_tela</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000056-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000056-source">
<pre>
     <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 247</span>
247:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cancelarAtualizacaoBdCert_tela</span>
248:     <span class="ruby-ivar">@requisicao</span> = <span class="ruby-constant">Requisicao</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>])
249:     <span class="ruby-ivar">@acao</span> = <span class="ruby-value str">'cancelarAtualizacaoBdCert'</span>
250:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000061" class="method-detail">
        <a name="M000061"></a>

        <div class="method-heading">
          <a href="#M000061" class="method-signature">
          <span class="method-name">cancelarAtualizacaoBdProd_tela</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000061-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000061-source">
<pre>
     <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 272</span>
272:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cancelarAtualizacaoBdProd_tela</span>
273:     <span class="ruby-ivar">@requisicao</span> = <span class="ruby-constant">Requisicao</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>])
274:     <span class="ruby-ivar">@acao</span> = <span class="ruby-value str">'cancelarAtualizacaoBdProd'</span>
275:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000064" class="method-detail">
        <a name="M000064"></a>

        <div class="method-heading">
          <a href="#M000064" class="method-signature">
          <span class="method-name">cancelarAtualizacaoServidorCert_tela</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000064-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000064-source">
<pre>
     <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 289</span>
289:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cancelarAtualizacaoServidorCert_tela</span>
290:     <span class="ruby-ivar">@requisicao</span> = <span class="ruby-constant">Requisicao</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>])
291:     <span class="ruby-ivar">@acao</span> = <span class="ruby-value str">'cancelarAtualizacaoServidorCert'</span>
292:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000069" class="method-detail">
        <a name="M000069"></a>

        <div class="method-heading">
          <a href="#M000069" class="method-signature">
          <span class="method-name">cancelarAtualizacaoServidorProd_tela</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000069-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000069-source">
<pre>
     <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 314</span>
314:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cancelarAtualizacaoServidorProd_tela</span>
315:     <span class="ruby-ivar">@requisicao</span> = <span class="ruby-constant">Requisicao</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>])
316:     <span class="ruby-ivar">@acao</span> = <span class="ruby-value str">'cancelarAtualizacaoServidorProd'</span>
317:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000073" class="method-detail">
        <a name="M000073"></a>

        <div class="method-heading">
          <a href="#M000073" class="method-signature">
          <span class="method-name">cancelarCert_tela</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000073-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000073-source">
<pre>
     <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 338</span>
338:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cancelarCert_tela</span>
339:     <span class="ruby-ivar">@requisicao</span> = <span class="ruby-constant">Requisicao</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>])
340:     <span class="ruby-ivar">@acao</span> = <span class="ruby-value str">'cancelarCert'</span>       
341:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000058" class="method-detail">
        <a name="M000058"></a>

        <div class="method-heading">
          <a href="#M000058" class="method-signature">
          <span class="method-name">concluirAtualizacaoBdCert_tela</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000058-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000058-source">
<pre>
     <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 257</span>
257:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">concluirAtualizacaoBdCert_tela</span>
258:     <span class="ruby-ivar">@requisicao</span> = <span class="ruby-constant">Requisicao</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>])
259:     <span class="ruby-ivar">@acao</span> = <span class="ruby-value str">'concluirAtualizacaoBdCert'</span>
260:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000066" class="method-detail">
        <a name="M000066"></a>

        <div class="method-heading">
          <a href="#M000066" class="method-signature">
          <span class="method-name">concluirAtualizacaoServidorCert_tela</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000066-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000066-source">
<pre>
     <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 299</span>
299:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">concluirAtualizacaoServidorCert_tela</span>
300:     <span class="ruby-ivar">@requisicao</span> = <span class="ruby-constant">Requisicao</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>])
301:     <span class="ruby-ivar">@acao</span> = <span class="ruby-value str">'concluirAtualizacaoServidorCert'</span>
302:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000062" class="method-detail">
        <a name="M000062"></a>

        <div class="method-heading">
          <a href="#M000062" class="method-signature">
          <span class="method-name">concluirAtulizacaoBdProd_tela</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000062-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000062-source">
<pre>
     <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 277</span>
277:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">concluirAtulizacaoBdProd_tela</span>
278:     <span class="ruby-ivar">@requisicao</span> = <span class="ruby-constant">Requisicao</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>])
279:     <span class="ruby-ivar">@acao</span> = <span class="ruby-value str">'concluirAtulizacaoBdProd'</span>
280:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000070" class="method-detail">
        <a name="M000070"></a>

        <div class="method-heading">
          <a href="#M000070" class="method-signature">
          <span class="method-name">concluirAtulizacaoServidorProd_tela</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000070-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000070-source">
<pre>
     <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 319</span>
319:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">concluirAtulizacaoServidorProd_tela</span>
320:     <span class="ruby-ivar">@requisicao</span> = <span class="ruby-constant">Requisicao</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>])
321:     <span class="ruby-ivar">@acao</span> = <span class="ruby-value str">'concluirAtulizacaoServidorProd'</span>
322:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000050" class="method-detail">
        <a name="M000050"></a>

        <div class="method-heading">
          <a href="#M000050" class="method-signature">
          <span class="method-name">concluirDesenvolvimento_tela</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000050-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000050-source">
<pre>
     <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 196</span>
196:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">concluirDesenvolvimento_tela</span>
197:     <span class="ruby-ivar">@requisicao</span> = <span class="ruby-constant">Requisicao</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>])
198:     <span class="ruby-ivar">@acao</span> = <span class="ruby-value str">'concluirDesenvolvimento'</span>
199:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000031" class="method-detail">
        <a name="M000031"></a>

        <div class="method-heading">
          <a href="#M000031" class="method-signature">
          <span class="method-name">create</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000031-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000031-source">
<pre>
    <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 26</span>
26:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">create</span>
27:     <span class="ruby-ivar">@requisicao</span> = <span class="ruby-constant">Requisicao</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:requisicao</span>])
28:     <span class="ruby-ivar">@requisicao</span>.<span class="ruby-identifier">usuario_id</span> = <span class="ruby-constant">Goldberg</span>.<span class="ruby-identifier">user</span>.<span class="ruby-identifier">id</span>
29:     <span class="ruby-keyword kw">for</span> <span class="ruby-identifier">modulo</span> <span class="ruby-keyword kw">in</span> <span class="ruby-identifier">params</span>[<span class="ruby-identifier">:modulo</span>][<span class="ruby-identifier">:id</span>]
30:       <span class="ruby-ivar">@requisicao</span>.<span class="ruby-identifier">modulos</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-constant">Modulo</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">modulo</span>)
31:     <span class="ruby-keyword kw">end</span>
32:     <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@requisicao</span>.<span class="ruby-identifier">save</span>
33:       <span class="ruby-identifier">historico</span> = <span class="ruby-constant">Historico</span>.<span class="ruby-identifier">new</span>
34:       <span class="ruby-identifier">historico</span>.<span class="ruby-identifier">estado</span> = <span class="ruby-ivar">@requisicao</span>.<span class="ruby-identifier">estado</span>
35:       <span class="ruby-identifier">historico</span>.<span class="ruby-identifier">observacao</span> = <span class="ruby-value str">'Estado Inicial'</span>
36:       <span class="ruby-identifier">historico</span>.<span class="ruby-identifier">usuario_id</span> = <span class="ruby-constant">Goldberg</span>.<span class="ruby-identifier">user</span>.<span class="ruby-identifier">id</span>
37:       <span class="ruby-ivar">@requisicao</span>.<span class="ruby-identifier">historicos</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">historico</span>
38:       <span class="ruby-identifier">redirect_to</span>(<span class="ruby-identifier">:action</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">'new_two'</span>, <span class="ruby-identifier">:requisicao</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-ivar">@requisicao</span>)
39:     <span class="ruby-keyword kw">else</span>
40:       <span class="ruby-ivar">@sistemas</span> = <span class="ruby-constant">Sistema</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">:all</span>)
41:       <span class="ruby-identifier">render</span>(<span class="ruby-identifier">:action</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">'new'</span>)
42:     <span class="ruby-keyword kw">end</span>
43:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000033" class="method-detail">
        <a name="M000033"></a>

        <div class="method-heading">
          <a href="#M000033" class="method-signature">
          <span class="method-name">create_two</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000033-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000033-source">
<pre>
    <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 49</span>
49:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">create_two</span>
50:     <span class="ruby-ivar">@requisicao</span> = <span class="ruby-constant">Requisicao</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>])
51:     <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@requisicao</span>.<span class="ruby-identifier">update_attributes</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:requisicao</span>])
52:       <span class="ruby-identifier">redirect_to</span>(<span class="ruby-identifier">:action</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">'new_three'</span>, <span class="ruby-identifier">:requisicao</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-ivar">@requisicao</span>)
53:     <span class="ruby-keyword kw">else</span>
54:       <span class="ruby-identifier">render</span>(<span class="ruby-identifier">:action</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">'new_two'</span>)
55:     <span class="ruby-keyword kw">end</span>
56:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000039" class="method-detail">
        <a name="M000039"></a>

        <div class="method-heading">
          <a href="#M000039" class="method-signature">
          <span class="method-name">del_campo_data</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000039-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000039-source">
<pre>
    <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 87</span>
87:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">del_campo_data</span>
88:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000040" class="method-detail">
        <a name="M000040"></a>

        <div class="method-heading">
          <a href="#M000040" class="method-signature">
          <span class="method-name">destroy</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000040-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000040-source">
<pre>
     <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 90</span>
 90:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">destroy</span>
 91:     <span class="ruby-ivar">@requisicao</span> = <span class="ruby-constant">Requisicao</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>])
 92:     <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@requisicao</span>.<span class="ruby-identifier">usuario_id</span> <span class="ruby-operator">==</span> <span class="ruby-constant">Goldberg</span>.<span class="ruby-identifier">user</span>.<span class="ruby-identifier">id</span>
 93:       <span class="ruby-ivar">@requisicao</span>.<span class="ruby-identifier">destroy</span>
 94:       <span class="ruby-identifier">flash</span>[<span class="ruby-identifier">:notice</span>] = <span class="ruby-value str">'Requisi&amp;ccedil;&amp;atilde;o exclu&amp;iacute;da.'</span>
 95:       <span class="ruby-identifier">redirect_to</span> <span class="ruby-identifier">:controller</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">'analista'</span>, <span class="ruby-identifier">:action</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">'index'</span>
 96:     <span class="ruby-keyword kw">else</span>
 97:       <span class="ruby-identifier">flash</span>[<span class="ruby-identifier">:notice</span>] = <span class="ruby-value str">'Usuario sem privilégios para excluir essa requisição.'</span>
 98:       <span class="ruby-identifier">redirect_to</span> <span class="ruby-identifier">:controller</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">'analista'</span>, <span class="ruby-identifier">:action</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">'index'</span>
 99:     <span class="ruby-keyword kw">end</span>
100:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000035" class="method-detail">
        <a name="M000035"></a>

        <div class="method-heading">
          <a href="#M000035" class="method-signature">
          <span class="method-name">edit</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000035-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000035-source">
<pre>
    <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 62</span>
62:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">edit</span>
63:     <span class="ruby-ivar">@requisicao</span> = <span class="ruby-constant">Requisicao</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>])
64:     <span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">not</span>(<span class="ruby-ivar">@requisicao</span>.<span class="ruby-identifier">usuario_id</span> <span class="ruby-operator">==</span> <span class="ruby-constant">Goldberg</span>.<span class="ruby-identifier">user</span>.<span class="ruby-identifier">id</span>)
65:       <span class="ruby-identifier">flash</span>[<span class="ruby-identifier">:warning</span>] = <span class="ruby-value str">&quot;Você não pode editar essa requisição&quot;</span>
66:       <span class="ruby-identifier">redirect_to</span>(<span class="ruby-identifier">:controller</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">'analista'</span>, <span class="ruby-identifier">:action</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">'index'</span>)
67:     <span class="ruby-keyword kw">end</span>
68:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000042" class="method-detail">
        <a name="M000042"></a>

        <div class="method-heading">
          <a href="#M000042" class="method-signature">
          <span class="method-name">enviarParaAtualizacaoProducao</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000042-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000042-source">
<pre>
     <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 107</span>
107:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">enviarParaAtualizacaoProducao</span>
108:     <span class="ruby-ivar">@requisicao</span> = <span class="ruby-constant">Requisicao</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>])
109:     <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@requisicao</span>.<span class="ruby-identifier">update_attributes</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:requisicao</span>])
110:       <span class="ruby-ivar">@requisicao</span>.<span class="ruby-identifier">enviarParaAtualizacaoProducao!</span>
111:       <span class="ruby-identifier">historico</span> = <span class="ruby-constant">Historico</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:historicos</span>])
112:       <span class="ruby-identifier">historico</span>.<span class="ruby-identifier">usuario_id</span> = <span class="ruby-constant">Goldberg</span>.<span class="ruby-identifier">user</span>.<span class="ruby-identifier">id</span>
113:       <span class="ruby-identifier">historico</span>.<span class="ruby-identifier">estado</span> = <span class="ruby-ivar">@requisicao</span>.<span class="ruby-identifier">estado</span>
114:       <span class="ruby-ivar">@requisicao</span>.<span class="ruby-identifier">historicos</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">historico</span>
115:       <span class="ruby-ivar">@requisicao</span>.<span class="ruby-identifier">dispensarCertificacao!</span>
116:       <span class="ruby-identifier">historico2</span> = <span class="ruby-constant">Historico</span>.<span class="ruby-identifier">new</span>
117:       <span class="ruby-identifier">historico2</span>.<span class="ruby-identifier">observacao</span> = <span class="ruby-value str">'Transição automatica'</span>
118:       <span class="ruby-identifier">historico2</span>.<span class="ruby-identifier">usuario_id</span> = <span class="ruby-constant">Goldberg</span>.<span class="ruby-identifier">user</span>.<span class="ruby-identifier">id</span>
119:       <span class="ruby-identifier">historico2</span>.<span class="ruby-identifier">estado</span> = <span class="ruby-ivar">@requisicao</span>.<span class="ruby-identifier">estado</span>
120:       <span class="ruby-ivar">@requisicao</span>.<span class="ruby-identifier">historicos</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">historico2</span>
121:             
122:       <span class="ruby-identifier">flash</span>[<span class="ruby-identifier">:notice</span>] = <span class="ruby-value str">'Requisi&amp;ccedil;&amp;atilde;o enviada para produção.'</span>
123:       <span class="ruby-identifier">redirect_to</span> <span class="ruby-identifier">:action</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">'home'</span>, <span class="ruby-identifier">:controller</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">'analista'</span>      
124:     <span class="ruby-keyword kw">else</span>
125:       <span class="ruby-identifier">render</span> <span class="ruby-identifier">:action</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">'show'</span>
126:     <span class="ruby-keyword kw">end</span>
127:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000041" class="method-detail">
        <a name="M000041"></a>

        <div class="method-heading">
          <a href="#M000041" class="method-signature">
          <span class="method-name">enviarParaAtualizacaoProducao_tela</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000041-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000041-source">
<pre>
     <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 102</span>
102:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">enviarParaAtualizacaoProducao_tela</span>
103:     <span class="ruby-ivar">@requisicao</span> = <span class="ruby-constant">Requisicao</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>])
104:     <span class="ruby-ivar">@acao</span> = <span class="ruby-value str">'enviarParaAtualizacaoProducao'</span>
105:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000046" class="method-detail">
        <a name="M000046"></a>

        <div class="method-heading">
          <a href="#M000046" class="method-signature">
          <span class="method-name">enviarParaCertificacao</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000046-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000046-source">
<pre>
     <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 156</span>
156:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">enviarParaCertificacao</span>
157:     <span class="ruby-ivar">@requisicao</span> = <span class="ruby-constant">Requisicao</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>])
158:     <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@requisicao</span>.<span class="ruby-identifier">update_attributes</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:requisicao</span>])
159:       <span class="ruby-ivar">@requisicao</span>.<span class="ruby-identifier">enviarParaCertificacao!</span>
160:       <span class="ruby-identifier">historico</span> = <span class="ruby-constant">Historico</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:historicos</span>])
161:       <span class="ruby-identifier">historico</span>.<span class="ruby-identifier">usuario_id</span> = <span class="ruby-constant">Goldberg</span>.<span class="ruby-identifier">user</span>.<span class="ruby-identifier">id</span>
162:       <span class="ruby-identifier">historico</span>.<span class="ruby-identifier">estado</span> = <span class="ruby-ivar">@requisicao</span>.<span class="ruby-identifier">estado</span>
163:       <span class="ruby-ivar">@requisicao</span>.<span class="ruby-identifier">historicos</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">historico</span>      
164:       <span class="ruby-identifier">flash</span>[<span class="ruby-identifier">:notice</span>] = <span class="ruby-value str">'Requisi&amp;ccedil;&amp;atilde;o enviada para certificação.'</span>
165:       <span class="ruby-identifier">redirect_to</span> <span class="ruby-identifier">:action</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">'home'</span>, <span class="ruby-identifier">:controller</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">'analista'</span> 
166:       
167:     <span class="ruby-keyword kw">else</span>
168:       <span class="ruby-identifier">flash</span>[<span class="ruby-identifier">:erro</span>] = <span class="ruby-value str">'Data inválida'</span>
169:       <span class="ruby-identifier">render</span> <span class="ruby-identifier">:controller</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">'analista'</span>, <span class="ruby-identifier">:action</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">'enviarParaCertificacao_tela'</span>
170:     <span class="ruby-keyword kw">end</span>
171:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000045" class="method-detail">
        <a name="M000045"></a>

        <div class="method-heading">
          <a href="#M000045" class="method-signature">
          <span class="method-name">enviarParaCertificacao_tela</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000045-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000045-source">
<pre>
     <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 151</span>
151:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">enviarParaCertificacao_tela</span>
152:     <span class="ruby-ivar">@requisicao</span> = <span class="ruby-constant">Requisicao</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>])
153:     <span class="ruby-ivar">@acao</span> = <span class="ruby-value str">'enviarParaCertificacao'</span>
154:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000044" class="method-detail">
        <a name="M000044"></a>

        <div class="method-heading">
          <a href="#M000044" class="method-signature">
          <span class="method-name">enviarParaDesenvolvimento</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000044-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000044-source">
<pre>
     <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 136</span>
136:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">enviarParaDesenvolvimento</span>
137:     <span class="ruby-ivar">@requisicao</span> = <span class="ruby-constant">Requisicao</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>])
138:     <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@requisicao</span>.<span class="ruby-identifier">update_attributes</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:requisicao</span>])
139:       <span class="ruby-ivar">@requisicao</span>.<span class="ruby-identifier">enviarParaDesenvolvimento!</span>
140:       <span class="ruby-identifier">historico</span> = <span class="ruby-constant">Historico</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:historicos</span>])
141:       <span class="ruby-identifier">historico</span>.<span class="ruby-identifier">usuario_id</span> = <span class="ruby-constant">Goldberg</span>.<span class="ruby-identifier">user</span>.<span class="ruby-identifier">id</span>
142:       <span class="ruby-identifier">historico</span>.<span class="ruby-identifier">estado</span> = <span class="ruby-ivar">@requisicao</span>.<span class="ruby-identifier">estado</span>
143:       <span class="ruby-ivar">@requisicao</span>.<span class="ruby-identifier">historicos</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">historico</span>
144:       <span class="ruby-identifier">flash</span>[<span class="ruby-identifier">:notice</span>] = <span class="ruby-value str">'Requisi&amp;ccedil;&amp;atilde;o enviada para desenvolvimento.'</span>
145:       <span class="ruby-identifier">redirect_to</span> <span class="ruby-identifier">:action</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">'home'</span>, <span class="ruby-identifier">:controller</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">'analista'</span> 
146:     <span class="ruby-keyword kw">else</span>
147:       <span class="ruby-identifier">render</span> <span class="ruby-identifier">:action</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">'enviarParaDesenvolvimento'</span>, <span class="ruby-identifier">:controller</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">'analista'</span> 
148:     <span class="ruby-keyword kw">end</span>
149:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000043" class="method-detail">
        <a name="M000043"></a>

        <div class="method-heading">
          <a href="#M000043" class="method-signature">
          <span class="method-name">enviarParaDesenvolvimento_tela</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000043-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000043-source">
<pre>
     <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 129</span>
129:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">enviarParaDesenvolvimento_tela</span>
130:     <span class="ruby-ivar">@requisicao</span> = <span class="ruby-constant">Requisicao</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>])
131:     <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@requisicao</span>.<span class="ruby-identifier">estado</span> <span class="ruby-operator">!=</span> <span class="ruby-value str">'criada'</span>
132:       <span class="ruby-identifier">redirect_to</span> <span class="ruby-identifier">:action</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">'list'</span>
133:     <span class="ruby-keyword kw">end</span>
134:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000071" class="method-detail">
        <a name="M000071"></a>

        <div class="method-heading">
          <a href="#M000071" class="method-signature">
          <span class="method-name">escalarCertificador_tela</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
certificacao
</p>
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000071-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000071-source">
<pre>
     <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 325</span>
325:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">escalarCertificador_tela</span>
326:     <span class="ruby-ivar">@requisicao</span> = <span class="ruby-constant">Requisicao</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>])
327:     <span class="ruby-identifier">$lista_cert</span> = []
328:     <span class="ruby-comment cmt">#      for cert in @requisicao.certificadores</span>
329:     <span class="ruby-comment cmt">#        $lista_cert &lt;&lt; cert.id</span>
330:     <span class="ruby-comment cmt">#      end</span>
331:     <span class="ruby-ivar">@certificadores</span> = <span class="ruby-constant">Goldberg</span><span class="ruby-operator">::</span><span class="ruby-constant">User</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">:all</span>, <span class="ruby-identifier">:conditions</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;role_id = '10'&quot;</span>)
332:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000047" class="method-detail">
        <a name="M000047"></a>

        <div class="method-heading">
          <a href="#M000047" class="method-signature">
          <span class="method-name">escalarDesenvolvedor_tela</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000047-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000047-source">
<pre>
     <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 173</span>
173:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">escalarDesenvolvedor_tela</span>
174:     <span class="ruby-ivar">@acao</span> = <span class="ruby-value str">'escalarDesenvolvedor'</span>
175:     <span class="ruby-identifier">$lista_desenv</span> = []
176:     <span class="ruby-ivar">@requisicao</span> = <span class="ruby-constant">Requisicao</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>])
177:     <span class="ruby-ivar">@desenvolvedores</span> = <span class="ruby-constant">Goldberg</span><span class="ruby-operator">::</span><span class="ruby-constant">User</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">:all</span>, <span class="ruby-identifier">:conditions</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;role_id = '5' or role_id = '14'&quot;</span>)
178:     <span class="ruby-keyword kw">if</span> (<span class="ruby-ivar">@requisicao</span>.<span class="ruby-identifier">estado</span> <span class="ruby-operator">!=</span> <span class="ruby-value str">'aguardandoDesenvolvimento'</span> <span class="ruby-keyword kw">and</span> <span class="ruby-ivar">@requisicao</span>.<span class="ruby-identifier">estado</span> <span class="ruby-operator">!=</span> <span class="ruby-value str">'desenvolvimentoReprovadoPool'</span> <span class="ruby-keyword kw">and</span> <span class="ruby-ivar">@requisicao</span>.<span class="ruby-identifier">estado</span> <span class="ruby-operator">!=</span> <span class="ruby-value str">'desenvolvimentoReprovadoAnal'</span>)
179:       <span class="ruby-identifier">redirect_to</span> <span class="ruby-identifier">:action</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">'home'</span>, <span class="ruby-identifier">:controller</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">'pool'</span> 
180:     <span class="ruby-keyword kw">end</span>
181:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000027" class="method-detail">
        <a name="M000027"></a>

        <div class="method-heading">
          <a href="#M000027" class="method-signature">
          <span class="method-name">index</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000027-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000027-source">
<pre>
   <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 2</span>
2:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">index</span>
3:     <span class="ruby-identifier">list</span>
4:     <span class="ruby-identifier">render</span> <span class="ruby-identifier">:action</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">'list'</span>
5:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000055" class="method-detail">
        <a name="M000055"></a>

        <div class="method-heading">
          <a href="#M000055" class="method-signature">
          <span class="method-name">iniciarAtualizacaoBdCert_tela</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
perfil banco
</p>
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000055-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000055-source">
<pre>
     <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 242</span>
242:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">iniciarAtualizacaoBdCert_tela</span>
243:     <span class="ruby-ivar">@requisicao</span> = <span class="ruby-constant">Requisicao</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>])
244:     <span class="ruby-ivar">@acao</span> = <span class="ruby-value str">'iniciarAtualizacaoBdCert'</span>
245:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000059" class="method-detail">
        <a name="M000059"></a>

        <div class="method-heading">
          <a href="#M000059" class="method-signature">
          <span class="method-name">iniciarAtualizacaoBdProd_tela</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000059-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000059-source">
<pre>
     <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 262</span>
262:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">iniciarAtualizacaoBdProd_tela</span>
263:     <span class="ruby-ivar">@requisicao</span> = <span class="ruby-constant">Requisicao</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>])
264:     <span class="ruby-ivar">@acao</span> = <span class="ruby-value str">'iniciarAtualizacaoBdProd'</span>
265:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000063" class="method-detail">
        <a name="M000063"></a>

        <div class="method-heading">
          <a href="#M000063" class="method-signature">
          <span class="method-name">iniciarAtualizacaoServidorCert_tela</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
perfil Suporte
</p>
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000063-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000063-source">
<pre>
     <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 284</span>
284:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">iniciarAtualizacaoServidorCert_tela</span>
285:     <span class="ruby-ivar">@requisicao</span> = <span class="ruby-constant">Requisicao</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>])
286:     <span class="ruby-ivar">@acao</span> = <span class="ruby-value str">'iniciarAtualizacaoServidorCert'</span>
287:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000067" class="method-detail">
        <a name="M000067"></a>

        <div class="method-heading">
          <a href="#M000067" class="method-signature">
          <span class="method-name">iniciarAtualizacaoServidorProd_tela</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000067-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000067-source">
<pre>
     <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 304</span>
304:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">iniciarAtualizacaoServidorProd_tela</span>
305:     <span class="ruby-ivar">@requisicao</span> = <span class="ruby-constant">Requisicao</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>])
306:     <span class="ruby-ivar">@acao</span> = <span class="ruby-value str">'iniciarAtualizacaoServidorProd'</span>
307:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000075" class="method-detail">
        <a name="M000075"></a>

        <div class="method-heading">
          <a href="#M000075" class="method-signature">
          <span class="method-name">iniciarCertificacao_tela</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
certificador
</p>
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000075-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000075-source">
<pre>
     <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 348</span>
348:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">iniciarCertificacao_tela</span>
349:     <span class="ruby-ivar">@requisicao</span> = <span class="ruby-constant">Requisicao</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>])
350:     <span class="ruby-ivar">@acao</span> = <span class="ruby-value str">'iniciarCertificacao'</span>       
351:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000048" class="method-detail">
        <a name="M000048"></a>

        <div class="method-heading">
          <a href="#M000048" class="method-signature">
          <span class="method-name">iniciarDesenvolvimento_tela</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000048-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000048-source">
<pre>
     <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 184</span>
184:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">iniciarDesenvolvimento_tela</span>
185:     <span class="ruby-ivar">@requisicao</span> = <span class="ruby-constant">Requisicao</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>])
186:     <span class="ruby-ivar">@acao</span> = <span class="ruby-value str">'iniciarDesenvolvimento'</span>
187:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000028" class="method-detail">
        <a name="M000028"></a>

        <div class="method-heading">
          <a href="#M000028" class="method-signature">
          <span class="method-name">list</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000028-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000028-source">
<pre>
    <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 11</span>
11:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">list</span>
12:     <span class="ruby-ivar">@requisicao_pages</span>, <span class="ruby-ivar">@requisicoes</span> = <span class="ruby-identifier">paginate</span>(<span class="ruby-identifier">:requisicoes</span>, <span class="ruby-identifier">:per_page</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value">10</span>, <span class="ruby-identifier">:order</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">'created_at DESC'</span>)
13:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000030" class="method-detail">
        <a name="M000030"></a>

        <div class="method-heading">
          <a href="#M000030" class="method-signature">
          <span class="method-name">new</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000030-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000030-source">
<pre>
    <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 21</span>
21:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">new</span>
22:     <span class="ruby-ivar">@requisicao</span> = <span class="ruby-constant">Requisicao</span>.<span class="ruby-identifier">new</span>
23:     <span class="ruby-ivar">@sistemas</span> = <span class="ruby-constant">Sistema</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">:all</span>)
24:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000034" class="method-detail">
        <a name="M000034"></a>

        <div class="method-heading">
          <a href="#M000034" class="method-signature">
          <span class="method-name">new_three</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000034-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000034-source">
<pre>
    <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 58</span>
58:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">new_three</span>
59:     <span class="ruby-ivar">@requisicao</span> = <span class="ruby-constant">Requisicao</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:requisicao</span>])
60:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000032" class="method-detail">
        <a name="M000032"></a>

        <div class="method-heading">
          <a href="#M000032" class="method-signature">
          <span class="method-name">new_two</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000032-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000032-source">
<pre>
    <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 45</span>
45:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">new_two</span>
46:     <span class="ruby-ivar">@requisicao</span> = <span class="ruby-constant">Requisicao</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:requisicao</span>])
47:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000037" class="method-detail">
        <a name="M000037"></a>

        <div class="method-heading">
          <a href="#M000037" class="method-signature">
          <span class="method-name">render_modulos</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000037-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000037-source">
<pre>
    <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 80</span>
80:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">render_modulos</span>
81:     <span class="ruby-ivar">@modulos</span> = <span class="ruby-constant">Modulo</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">:all</span>, <span class="ruby-identifier">:conditions</span> =<span class="ruby-operator">&gt;</span> [<span class="ruby-value str">&quot;sistema_id = ?&quot;</span>, <span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>]])
82:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000080" class="method-detail">
        <a name="M000080"></a>

        <div class="method-heading">
          <a href="#M000080" class="method-signature">
          <span class="method-name">reportarErroProducao_tela</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
gerente producao
</p>
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000080-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000080-source">
<pre>
     <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 373</span>
373:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reportarErroProducao_tela</span> 
374:     <span class="ruby-ivar">@requisicao</span> = <span class="ruby-constant">Requisicao</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>])
375:     <span class="ruby-ivar">@acao</span> = <span class="ruby-value str">'reportarErroProducao'</span>     
376:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000051" class="method-detail">
        <a name="M000051"></a>

        <div class="method-heading">
          <a href="#M000051" class="method-signature">
          <span class="method-name">reprovarDesenvolvimento</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000051-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000051-source">
<pre>
     <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 201</span>
201:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reprovarDesenvolvimento</span>
202:     <span class="ruby-ivar">@requisicao</span> = <span class="ruby-constant">Requisicao</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>])
203:     <span class="ruby-ivar">@requisicao</span>.<span class="ruby-identifier">reprovarDesenvolvimento!</span>
204:     <span class="ruby-identifier">historico</span> = <span class="ruby-constant">Historico</span>.<span class="ruby-identifier">new</span>
205:     <span class="ruby-identifier">historico</span>.<span class="ruby-identifier">attributes</span> = <span class="ruby-identifier">params</span>[<span class="ruby-identifier">:historico</span>]
206:     <span class="ruby-identifier">historico</span>.<span class="ruby-identifier">usuario_id</span> = <span class="ruby-constant">Goldberg</span>.<span class="ruby-identifier">user</span>.<span class="ruby-identifier">id</span>
207:     <span class="ruby-identifier">historico</span>.<span class="ruby-identifier">estado</span> = <span class="ruby-ivar">@requisicao</span>.<span class="ruby-identifier">estado</span>
208:     <span class="ruby-ivar">@requisicao</span>.<span class="ruby-identifier">historicos</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">historico</span>    
209:     <span class="ruby-identifier">flash</span>[<span class="ruby-identifier">:notice</span>] = <span class="ruby-value str">'Operação realizada com sucesso.'</span>        
210:     <span class="ruby-identifier">redirect_to</span> <span class="ruby-identifier">:action</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">'list'</span>
211:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000054" class="method-detail">
        <a name="M000054"></a>

        <div class="method-heading">
          <a href="#M000054" class="method-signature">
          <span class="method-name">reprovarDesenvolvimentoAnalista_tela</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000054-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000054-source">
<pre>
     <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 237</span>
237:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reprovarDesenvolvimentoAnalista_tela</span>
238:     <span class="ruby-ivar">@requisicao</span> = <span class="ruby-constant">Requisicao</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>])
239:     <span class="ruby-ivar">@acao</span> = <span class="ruby-value str">'reprovarDesenvolvimentoAnalista'</span>   
240:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000082" class="method-detail">
        <a name="M000082"></a>

        <div class="method-heading">
          <a href="#M000082" class="method-signature">
          <span class="method-name">reprovarDesenvolvimento_tela</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000082-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000082-source">
<pre>
     <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 383</span>
383:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reprovarDesenvolvimento_tela</span>
384:     <span class="ruby-ivar">@requisicao</span> = <span class="ruby-constant">Requisicao</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>])
385:     <span class="ruby-ivar">@acao</span> = <span class="ruby-value str">'reprovarDesenvolvimento'</span>
386:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000076" class="method-detail">
        <a name="M000076"></a>

        <div class="method-heading">
          <a href="#M000076" class="method-signature">
          <span class="method-name">reprovarRequisicao_tela</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000076-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000076-source">
<pre>
     <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 352</span>
352:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reprovarRequisicao_tela</span>
353:     <span class="ruby-ivar">@requisicao</span> = <span class="ruby-constant">Requisicao</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>])
354:     <span class="ruby-ivar">@acao</span> = <span class="ruby-value str">'reprovarRequisicao'</span>        
355:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000029" class="method-detail">
        <a name="M000029"></a>

        <div class="method-heading">
          <a href="#M000029" class="method-signature">
          <span class="method-name">show</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000029-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000029-source">
<pre>
    <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 15</span>
15:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">show</span>
16:     <span class="ruby-ivar">@requisicao</span> = <span class="ruby-constant">Requisicao</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>])
17:     <span class="ruby-comment cmt">#@historico_pages, @historicos = paginate @requisicao.historicos, :conditions =&gt; [:order_by =&gt; &quot;created_at DESC&quot;, :per_page =&gt; 10]   </span>
18:     <span class="ruby-comment cmt">#paginação do historico incompleto</span>
19:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000074" class="method-detail">
        <a name="M000074"></a>

        <div class="method-heading">
          <a href="#M000074" class="method-signature">
          <span class="method-name">solicitarAtualizacaoBdCert_tela</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000074-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000074-source">
<pre>
     <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 343</span>
343:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">solicitarAtualizacaoBdCert_tela</span>
344:     <span class="ruby-ivar">@requisicao</span> = <span class="ruby-constant">Requisicao</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>])
345:     <span class="ruby-ivar">@acao</span> = <span class="ruby-value str">'solicitarAtualizacaoBdCert'</span>        
346:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000072" class="method-detail">
        <a name="M000072"></a>

        <div class="method-heading">
          <a href="#M000072" class="method-signature">
          <span class="method-name">solicitarAtualizacaoServidorCert_tela</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000072-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000072-source">
<pre>
     <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 333</span>
333:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">solicitarAtualizacaoServidorCert_tela</span>
334:     <span class="ruby-ivar">@requisicao</span> = <span class="ruby-constant">Requisicao</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>])
335:     <span class="ruby-ivar">@acao</span> = <span class="ruby-value str">'solicitarAtualizacaoServidorCert'</span>    
336:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000057" class="method-detail">
        <a name="M000057"></a>

        <div class="method-heading">
          <a href="#M000057" class="method-signature">
          <span class="method-name">suspenderAtualizacaoBdCert_tela</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000057-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000057-source">
<pre>
     <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 252</span>
252:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">suspenderAtualizacaoBdCert_tela</span>
253:     <span class="ruby-ivar">@requisicao</span> = <span class="ruby-constant">Requisicao</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>])
254:     <span class="ruby-ivar">@acao</span> = <span class="ruby-value str">'suspenderAtualizacaoBdCert'</span>
255:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000060" class="method-detail">
        <a name="M000060"></a>

        <div class="method-heading">
          <a href="#M000060" class="method-signature">
          <span class="method-name">suspenderAtualizacaoBdProd_tela</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000060-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000060-source">
<pre>
     <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 267</span>
267:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">suspenderAtualizacaoBdProd_tela</span>
268:     <span class="ruby-ivar">@requisicao</span> = <span class="ruby-constant">Requisicao</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>])
269:     <span class="ruby-ivar">@acao</span> = <span class="ruby-value str">'suspenderAtualizacaoBdProd'</span>
270:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000065" class="method-detail">
        <a name="M000065"></a>

        <div class="method-heading">
          <a href="#M000065" class="method-signature">
          <span class="method-name">suspenderAtualizacaoServidorCert_tela</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000065-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000065-source">
<pre>
     <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 294</span>
294:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">suspenderAtualizacaoServidorCert_tela</span>
295:     <span class="ruby-ivar">@requisicao</span> = <span class="ruby-constant">Requisicao</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>])
296:     <span class="ruby-ivar">@acao</span> = <span class="ruby-value str">'suspenderAtualizacaoServidorCert'</span>
297:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000068" class="method-detail">
        <a name="M000068"></a>

        <div class="method-heading">
          <a href="#M000068" class="method-signature">
          <span class="method-name">suspenderAtualizacaoServidorProd_tela</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000068-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000068-source">
<pre>
     <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 309</span>
309:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">suspenderAtualizacaoServidorProd_tela</span>
310:     <span class="ruby-ivar">@requisicao</span> = <span class="ruby-constant">Requisicao</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>])
311:     <span class="ruby-ivar">@acao</span> = <span class="ruby-value str">'suspenderAtualizacaoServidorProd'</span>
312:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000077" class="method-detail">
        <a name="M000077"></a>

        <div class="method-heading">
          <a href="#M000077" class="method-signature">
          <span class="method-name">suspenderCertificacao_tela</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000077-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000077-source">
<pre>
     <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 356</span>
356:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">suspenderCertificacao_tela</span>
357:     <span class="ruby-ivar">@requisicao</span> = <span class="ruby-constant">Requisicao</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>])
358:     <span class="ruby-ivar">@acao</span> = <span class="ruby-value str">'suspenderCertificacao'</span>           
359:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000049" class="method-detail">
        <a name="M000049"></a>

        <div class="method-heading">
          <a href="#M000049" class="method-signature">
          <span class="method-name">suspenderDesenvolvimento_tela</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000049-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000049-source">
<pre>
     <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 189</span>
189:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">suspenderDesenvolvimento_tela</span>
190:     <span class="ruby-ivar">@requisicao</span> = <span class="ruby-constant">Requisicao</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>])
191:     <span class="ruby-ivar">@acao</span> = <span class="ruby-value str">'suspenderDesenvolvimento'</span>
192:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>

      <div id="method-M000036" class="method-detail">
        <a name="M000036"></a>

        <div class="method-heading">
          <a href="#M000036" class="method-signature">
          <span class="method-name">update</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
          <p><a class="source-toggle" href="#"
            onclick="toggleCode('M000036-source');return false;">[Source]</a></p>
          <div class="method-source-code" id="M000036-source">
<pre>
    <span class="ruby-comment cmt"># File app/controllers/requisicoes_controller.rb, line 70</span>
70:   <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">update</span>
71:     <span class="ruby-ivar">@requisicao</span> = <span class="ruby-constant">Requisicao</span>.<span class="ruby-identifier">find</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:id</span>])
72:     <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@requisicao</span>.<span class="ruby-identifier">update_attributes</span>(<span class="ruby-identifier">params</span>[<span class="ruby-identifier">:requisicao</span>])
73:       <span class="ruby-identifier">flash</span>[<span class="ruby-identifier">:notice</span>] = <span class="ruby-value str">'Requisi&amp;ccedil;&amp;atilde;o atualizada com sucesso'</span>
74:       <span class="ruby-identifier">redirect_to</span> <span class="ruby-identifier">:controller</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">'analista'</span>, <span class="ruby-identifier">:action</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">'show'</span>, <span class="ruby-identifier">:id</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-ivar">@requisicao</span>
75:     <span class="ruby-keyword kw">else</span>
76:       <span class="ruby-identifier">render</span> <span class="ruby-identifier">:action</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">'edit'</span>
77:     <span class="ruby-keyword kw">end</span>
78:   <span class="ruby-keyword kw">end</span>
</pre>
          </div>
        </div>
      </div>


    </div>


  </div>


<div id="validator-badges">
  <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
</div>

</body>
</html>